extends Relic

@export var amount := 3

func activate_relic(owner: RelicUI) -> void:
	var player := owner.get_tree().get_nodes_in_group("player")
	if not player:
		return
	var block_effect := BlockEffect.new()
	block_effect.amount = amount
	block_effect.execute(player)
	owner.flash()
	
func get_tooltip() -> String:
	return tooltip % amount
